package com.hst.capacity.domain.model.entity.setting.commision;


import com.hst.capacity.domain.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "sys_commision")//分成比例表
public class CommisionEntity extends BaseEntity {
  @Id
  @GeneratedValue(generator = "gen_uuid")
  @GenericGenerator(name = "gen_uuid", strategy = "uuid")
  private String idCommision;
  private String idModule;
  private Integer module;
  private String idCorporation;
  private String idFranchisee;
  private Float platformCommision;
  private Float franchiseeCommision;
  private Float driverCommision;
  private Float channelCommision;
  private Float otherCommision;
  private String memo;

}
